import  { React,Component } from 'react'
import { Button, DatePicker, ConfigProvider } from 'antd';
import { WeiboSquareOutlined, SearchOutlined} from '@ant-design/icons';

const onChange = (date, dateString) => {
  console.log(date, dateString);
};
export default class App extends Component {
  
  render() {
    return (
      <ConfigProvider theme={{ token: { colorPrimary: '#00b96b' } }}>
        <div>
          App
          <button>点我</button>
          <Button type="primary">Primary Button</Button>
          <Button type="text">Primary Button</Button>
          <Button>Primary Button</Button>
          <WeiboSquareOutlined />
          <Button icon={<SearchOutlined />}>Search</Button>
          <DatePicker onChange={onChange} />
        </div>
      </ConfigProvider>
      
    )
  }
}
